

<div class="content-box">


	<div class="content-box-header">
		<h3>作业列表</h3>
		
	</div>
	<!-- End .content-box-header -->

	<div class="content-box-content">

		<div class="tab-content default-tab">

			<table>

				<thead>
					<tr>
						<th>名称</th>
						<th>类型</th>
						<th>发布日期</th>
						<th>截止时间</th>
						<th>上次修改</th>
						<th>操作</th>
					</tr>

				</thead>

				<tfoot>
			
					<tr>
						<td colspan="4">
							<div class="clear"></div></td>
					</tr>
				</tfoot>

				<tbody>
				{% for homework in homeworks %}
					<tr id="{{homework.id}}">
						<td><a  onclick="$('#main-content').load('show_homework?homework={{homework.id}}');" href="javascript:void(0);" name="{{homework.id}}">{{homework.name}}</a></td>
						<td>{% ifequal homework.type 'personal'%}
							个人作业
							{% else %}
							小组作业
							{% endifequal %}</td>
						<td>{{homework.pub_date|date:"Y年n月d日 ,G:i"}}</td>
						<td>{{homework.deadline|date:"Y年n月d日 ,G:i"}}</td>
						<td>{{homework.last_updated_time|date:"Y年n月d日 ,G:i"}}</td>
						<td>
						<a onclick="$('#main-content').load('submit_homework?homework={{homework.id}}');" href="javascript:void(0);" name="{{homework.id}}">
						上传
						</a>
						|<a onclick="$('#main-content').load('assess_homework?homework={{homework.id}}');" href="javascript:void(0);" name="{{homework.id}}">
						评审
						</a>
						|<a onclick="$('#main-content').load('show_submited_homework?homework={{homework.id}}');" href="javascript:void(0);" name="{{homework.id}}">
						提交记录
						</a>
						</td>
						
					</tr>
				{% endfor %}
				</tbody>

			</table>

		</div>
		<!-- End #tab3 -->

	</div>
	<!-- End .content-box-content -->

</div>



<!-- End .content-box -->